<script type="text/javascript">
    (function($) {
        $(function() {
            $("#scroller").simplyScroll();
        });
    })(jQuery);
</script>
<div id ="module-ads">
    <div class="module-inner" style="overflow: hidden;">
        <ul id="scroller">
            <?php
            if (!empty($objectAds)) {
                foreach ($objectAds as $obj) {
                    if ($obj->rel == 1) {
                        $flow = 'rel="nofollow"';
                    } else {
                        $flow = '';
                    }
                    echo '<li class="left"><a '.$flow.'  href="' . $obj->url . '" title="' . $obj->title . '" target="_seft"><img class="img-ads" src="' . $obj->image . '" alt="' . $obj->alt . '" height="60px"/></a> </li>';
                }
            }
            ?> </ul>

    </div>
</div>